<!DOCTYPE html>
<html ng-app="app">
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title></title>
		<link rel="stylesheet" type="text/css" href="../css/base.css"/>
		<link rel="stylesheet" type="text/css" href="../css/referral.css"/>
		<script src="../js/angular-1.4.6.min.js"></script>	
		<script src="../js/angular-route.js"></script>			
	</head>
	<body ng-controller="ctrl">
		<header>
			<div class="referral-box">
				<a href="#" onClick="javascript :history.back(-1);">
					<img src="../img/zuo.png"/>
				</a>
				<p>收藏品详情</p>
				<img src="../img/huifenxiang.png"/>
			</div>
		</header>
		<section>
			<div class="barner">
				<img src="../img/zishahu.png"/>
			</div>
			<div class="content">
				<p class="title">中国工艺美术师崔健正品紫砂壶</p>
				<p class="money">￥5999.00</p>
				<p class="tit">周末下午，约与三两好友，泡一壶清茶，惬意享受整个下午，原把精致美器，先给最懂生活的人！</p>
				<ul>
					<li>
						<span>材质:</span>
						<img src="../img/star.png"/>
					</li>
					<li>
						<span>工艺:</span>
						<img src="../img/star.png"/>
					</li>
					<li>
						<span>性价比:</span>
						<img src="../img/star.png"/>
					</li>
				</ul>
			</div>
			<div class="col-f"></div>
			<div class="table">
				<div class="tab-box">
					<a href="#photo">图文介绍</a>
				</div>
				<div class="tab-bar">
					<a href="#discuss">评论(1)</a>
				</div>
			</div>
			<div ng-view></div>
		</section>
	</body>	
	<script>
		var app = angular.module("app",["ngRoute"]);
		app.config(["$routeProvider",function ($routeProvider) {
			$routeProvider
			.when("/photo",{
				templateUrl:"photo.html",
				controller:"ctrl"
			})
			.when("/discuss",{
				templateUrl:"discuss.html",
				controller:"ctrl"
			})
			.otherwise({
				redirectTo:"/photo"
			})
		}])
	</script>
</html>
